home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / wordsing / ltrheadd / setup.bat < prev    next >
Encoding:
DOS Batch File  |  1993-06-28  |  4.3 KB  |  125 lines

  1. @REM SETUP.BAT; Letterhead Kit/DOS 3.0
  2. @REM (C)Copyright 1993 Jerry Stern--All Rights Reserved, 6/93
  3. @echo off
  4. cls
  5. if not exist ltrhead3.doc goto baddir
  6. if not exist letter6.frm goto baddir
  7. if not exist ltr.wpm goto baddir
  8. if "%1"=="" goto info
  9. if "%2"=="" goto default
  10. set loc=%2
  11. goto nextstep
  12. :default
  13. set loc=c:\ltrhead
  14. :nextstep
  15. if not exist %1\*.* goto nomac
  16. if not exist %loc%\*.* goto new
  17. ECHO Upgrade Installation to version 3.0
  18. ECHO Your old letterheads will not be replaced.
  19. goto more
  20. :new
  21. ECHO New Installation of version 3.0
  22. :more
  23. ECHO THE LETTERHEAD KIT is copyrighted software marketed as SHAREWARE. You may
  24. ECHO share the complete and unaltered evaluation version with your friends. 
  25. ECHO You may try the package at no charge for 30 days, but if you use if after
  26. ECHO that period, you must register it. Registered users receive an enhanced
  27. ECHO version of the main macro, including an options configuration file, and
  28. ECHO a megabyte of clip art!
  29. ECHO Registration information is in REGISTER.DOC and PRODUCTS.DOC.
  30. ECHO ...
  31. ECHO Files for THE LETTERHEAD KIT 3.0 for WP51/DOS will now be copied:
  32. ECHO Macros will be copied to %1
  33. ECHO The forms, graphics, and instructions will be copied
  34. ECHO to the directory %loc%. 
  35. ECHO You will need about 400K of free space.
  36. ECHO ...
  37. ECHO Press any key to proceed with installation, or Control-C to stop now.
  38. pause > nul
  39. copy ltr5.wpm %1\ltr.wpm
  40. copy ltr5-cfg.wpm %1
  41. if not exist %loc%\*.* goto newset
  42. if not exist %loc%\autogrph.wpg copy autogrph.wpg %loc%\*.*
  43. copy informal.wpg %loc%\informal.wpg
  44. del %loc%\AIR-MAIL.WPG
  45. del %loc%\BOX-UP.WPG
  46. del %loc%\CONFIDN2.WPG
  47. del %loc%\DISKLABL.WPG
  48. del %loc%\DRAFT.WPG
  49. del %loc%\FAXED.WPG
  50. del %loc%\FRSTMAIL.WPG
  51. del %loc%\FYILABEL.WPG
  52. del %loc%\GIFT-TAG.WPG
  53. del %loc%\GOODIDEA.WPG
  54. del %loc%\NEXTDAY.WPG
  55. del %loc%\OK.WPG
  56. del %loc%\PACKLIST.WPG
  57. del %loc%\PAIDBAG.WPG
  58. del %loc%\PARCPOST.WPG
  59. del %loc%\PAYBOX?.WPG
  60. del %loc%\PAYLABL?.WPG
  61. del %loc%\PHONELBL.WPG
  62. del %loc%\PHOTOS.WPG
  63. del %loc%\PRIORITY.WPG
  64. del %loc%\READLABL.WPG
  65. del %loc%\RUSH1.WPG
  66. messages %loc%
  67. copy *.doc  %loc%\*.*
  68. copy person.frm  %loc%\*.*
  69. copy printdoc.bat %loc%\*.*
  70. copy readme.1st %loc%\*.*
  71. if not exist %loc%\bill.frm copy bill.frm %loc%\bill.frm
  72. if not exist %loc%\letter-d.frm copy letter-d.frm %loc%\letter-d.frm
  73. goto done
  74. :newset
  75. md %loc%
  76. copy *.wpg  %loc%\*.*
  77. messages %loc%
  78. copy *.doc  %loc%\*.*
  79. copy bill.frm  %loc%\*.*
  80. copy letter-d.frm  %loc%\*.*
  81. copy person.frm  %loc%\*.*
  82. copy printdoc.bat %loc%\*.*
  83. copy readme.1st %loc%\*.*
  84. :done
  85. ECHO Done...
  86. ECHO If you haven't already,
  87. ECHO run PRINTDOC.BAT for instructions on printing the manual.
  88. ECHO If you will also run WP6.0, install the 6.0 macros and forms
  89. ECHO by running the INSTALL macro from inside WordPerfect 6.0.
  90. goto end
  91. :nomac
  92. ECHO Letterhead Kit/DOS 3.0 Installation for WP 5.1
  93. ECHO The directory that you have chosen to copy the macros to is empty
  94. ECHO or doesn't exist. Please check the name, and try again.
  95. goto end
  96. :baddir
  97. ECHO Letterhead Kit/DOS 3.0 Installation for WP 5.1
  98. ECHO You must start this installation by logging to the drive and directory
  99. ECHO where the files are currently located. When you run SETUP from that
  100. ECHO directory, it will help you find the correct startup command to
  101. ECHO install your software.
  102. goto end
  103. :info
  104. ECHO Letterhead Kit/DOS 3.0 Installation for WP 5.1
  105. ECHO Start SETUP.BAT with the name of the macro directory used by WordPerfect,
  106. ECHO usually c:\wp51\macros or c:\wp51, and (OPTIONAL) the new directory name
  107. ECHO to make for storing The Letterhead Kit forms and graphics.
  108. ECHO ...
  109. ECHO If you don't choose a directory for forms and graphics, `c:\ltrhead' 
  110. ECHO will be created and used. IF YOU MUST USE SOME OTHER DRIVE OR DIRECTORY,
  111. ECHO READ LTRHEAD3.DOC--YOU MUST EDIT THE CONFIGURATION FILE, LTR5-CFG.WPM.
  112. ECHO ...
  113. ECHO If you don't know where WP51 keeps your macros, press Setup (Shift-F1),
  114. ECHO (6) Location Of Files, and write down the entry under "Macros/Keyboards"
  115. ECHO and enter it from the DOS prompt. (Press Cancel (F1) to return to
  116. ECHO the document screen.)
  117. ECHO ...
  118. ECHO For example: 
  119. ECHO SETUP c:\wp51\macros
  120. ECHO (Copies package to c:\ltrhead, using c:\wp51\macros for macros.)
  121. ECHO SETUP d:\wp51 d:\ltrhead
  122. ECHO (Copies package to d:\ltrhead, using d:\wp51 for macros.)
  123. :end
  124. PAUSE
  125.